<?php declare(strict_types=1);
namespace Umserv\ExchangeInterfaces\V1\Types;

abstract class ProductType extends \Umserv\ExchangeInterfaces\V1\Core\Dto\Base implements \Umserv\ExchangeInterfaces\V1\Types\ProductInterface
{
    protected int $id;

    public int $count;

    public function __construct(int $id)
    {
        $this->id = $id;
    }

    public function getId(): int {
        return $this->id;
    }

    public function getCount(): int {
        return $this->count;
    }
}